<?php $section='Users'; ?>
<?php
        require_once '../../inc/functions.php';
        $conn = getConnection();
        //print_r($conn);
        
        $result = $conn->query('SELECT * FROM 2011_Users');
        
?>
<?php include('../../inc/header.php'); ?>
<?php include('../../inc/menu.php'); ?>
<?php include('../../inc/ads.php'); ?>
<h1>Users</h1>
        <ul>
                        <? while($rs = $result->fetch_assoc()){ ?>
                <li><?=$rs['FirstName']?> <?=$rs['LastName']?></li>
            <? } ?>
        </ul>

<?php include('../../inc/sidebar.php'); ?>
<?php include('../../inc/footer.php'); ?>

<?php $conn->close(); ?>